/*
 * Copyright 2008-2012 Centro Andaluz de Innovación y Tecnologías de la
 * Información y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.youtube.model;

/**
 * 
 * class that represents a preference from a YouTube user
 * 
 * 
 */
public class YouTubePreferences {

	/**
	 * keyword of the preference
	 */
	private String name;
	/**
	 * value of the preference
	 */
	private Float value;

	
	/**
	 * empty constructor
	 */
	public YouTubePreferences() {
		name = null;
		value = 0F;
	}

	/**
	 * constructor with parameters
	 * 
	 * @param name
	 *            the keyword of the preference
	 * @param value
	 *            the value of the preference
	 */
	public YouTubePreferences(String name, Float value) {
		this.name = name;
		this.value = value;
	}
	
	
	/**
	 * gets the keyword of the preference
	 * 
	 * @return the keyword of the preference
	 */
	public String getName() {
		return name;
	}

	/**
	 * sets the keyword of the preference
	 * 
	 * @param name
	 *            the keyword of the preference to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * gets the value of the preference
	 * 
	 * @return the value of the preference
	 */
	public Float getValue() {
		return value;
	}

	/**
	 * sets the value of the preference
	 * 
	 * @param value
	 *            the value of the preference to set
	 */
	public void setValue(Float value) {
		this.value = value;
	}



}
